<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="format-detection" content="telephone=no" />
    <title>首页</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" href="css/style.css" />
    <link rel="stylesheet" href="css/iconfont.css" />
    <link rel="stylesheet" href="css/element-icons.css" />
    <link rel="stylesheet" href="css/newiconfont.css" />
    <script src="js/jquery.min.js"></script>
    <script src="js/lib.js"></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!--[if IE]>
    <link rel="stylesheet" href="css/all-ie-only.css" />
    <![endif]-->
</head>

<body>
<div class="header4 header4_fixed fix">
    <div class="wp">
        <div class="header4-btn" id="noLoginDiv">
            <a href="login.html" class="a1 l">登 录</a>
            <a href="register.html" class="r">注 册</a>
        </div>
        <div class="header-user" style="margin-top: 20px;" id="loginDiv">
            <a href="javascript:;" class="hd">
                <img src="/images/head.png" alt="" />
                <span id="nicknameDiv"></span>
            </a>
            <div class="dropdown-menu">
                <div class="icon-arrow"></div>
                <ul>
                    <li>
                        <a href="home.html" class="con">
                            <span>首页</span>
                        </a>
                    </li>
                    <li>
                        <a href="personalCenter.html" class="con">
                            <span>资料编辑</span>
                        </a>
                    </li>
                    <li>
                        <a href="wallet.html" class="con">
                            <span>我的钱包</span>
                        </a>
                    </li>
                    <li>
                        <a onclick="logout()" class="con">
                            <span>退出</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <a href="javascript:void(0);" class="header4-logo">
            <div class="hd">
                <img src="images/logo3.svg" alt="" />
                <h2>星火链网 · 骨干节点 <span>（营口）</span></h2>
            </div>
            <p>打造链网协同新基建，建设区块链新经济模式</p>
        </a>
    </div>
</div>
<div class="box-index_cont">
    <div class="bg" style="background-image:url('images/index_bg.png');"></div>
    <div class="nav-list">
        <div class="wp">
            <ul>
                <li>
                    <a href="http://139.198.15.29:40103/bmsApi/blade-auth/oauth/render/user_center" class="con" target="_blank">
                        <div class="pic">
                            <img src="images/nav_i1.png" alt="" />
                        </div>
                        <div class="inner">
                            <h4>业务管理系统</h4>
                            <div class="txt">
                                <p>提供骨干节点运营管理、子链授权管理以及跨链交互等服务</p>
                            </div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="http://139.198.15.29:40103/registerApi/blade-auth/oauth/render/user_center" class="con" target="_blank">
                        <div class="pic">
                            <img src="images/nav_i2.png" alt="" />
                        </div>
                        <div class="inner">
                            <h4>标识注册系统</h4>
                            <div class="txt">
                                <p>通过骨干节点提供BID、工业互联网标识的注册服务</p>
                            </div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="/identification/resolver.html" class="con" target="_blank">
                        <div class="pic">
                            <img src="images/nav_i3.png" alt="" />
                        </div>
                        <div class="inner">
                            <h4>标识解析系统</h4>
                            <div class="txt">
                                <p>通过骨干节点提供BID、工业互联网标识的解析服务</p>
                            </div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="/userManager/index.html" class="con" target="_blank">
                        <div class="pic">
                            <img src="images/nav_i4.png" alt="" />
                        </div>
                        <div class="inner">
                            <h4>统一认证系统</h4>
                            <div class="txt">
                                <p>骨干节点BID数字身份颁发，实现一次认证，全网同步</p>
                            </div>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="http://139.198.15.29:40103/api/blade-auth/oauth/render/user_center" class="con" target="_blank">
                        <div class="pic">
                            <img src="images/nav_i5.png" alt="" />
                        </div>
                        <div class="inner">
                            <h4>运行检测系统</h4>
                            <div class="txt">
                                <p>对骨干系统整体服务进行监测告警，保障系统正常运行</p>
                            </div>
                        </div>
                    </a>
                </li>
                <li>
                    <a class="con" target="_blank" id="toblock">
                        <!-- setLocalStorage('username', res.username)  /browser/home/index.html-->
                        <div class="pic">
                            <img src="images/nav_i6.png" alt=""/>
                        </div>
                        <div class="inner">
                            <h4>区块链浏览器</h4>
                            <div class="txt">
                                <p>骨干节点底层区块链系统运行数据展示，实现链上数据查询</p>
                            </div>
                        </div>
                    </a>
                </li>
                <!--<li>
                    <a href="" class="con">
                        <div class="pic">
                            <img src="images/nav_i7.png" alt="" />
                        </div>
                        <div class="inner">
                            <h4>链网展示系统</h4>
                            <div class="txt">
                                <p>对骨干网络整体的运行情况进行多维数据监测、分析及展示</p>
                            </div>
                        </div>
                    </a>
                </li>-->
            </ul>
        </div>
    </div>
</div>
<!-- 显隐 end -->
<script src="js/module.js"></script>
<script type="text/javascript">
    $(function () {
        $.ajax({
            url: "/user-manager/userApi/menu/routes?parentId=",
            type: "get",
            data: {},
            beforeSend: function (req) {
                req.setRequestHeader('Auth', getUuid())
                req.setRequestHeader('Authorization', "bearer " + localStorage.getItem("ACCESS_TOKEN"))
                req.setRequestHeader('check', localStorage.getItem("username"))
            },
            headers: {'Content-Type': 'application/json'}
        })
        .success(function (res) {
            if (res.code == 200 || res.code == 0) {
                $("#loginDiv").show();
                $("#noLoginDiv").hide();
                $("#nicknameDiv").text(localStorage.getItem("nickname"));
            } else {
                $("#loginDiv").hide();
                $("#noLoginDiv").show();
            }
        })
        .error(function (xhr, err) {
            $("#loginDiv").hide();
            $("#noLoginDiv").show();
        })
        // 去区块链页面
        /*$("#toblock").on('click',function() {
            let ACCESS_TOKEN = localStorage.getItem('ACCESS_TOKEN')
            if (!ACCESS_TOKEN) {
                window.location.href = "login.html"
            } else {
                window.location.href = 'browser/home/index.html'
            }
        })*/
    });
</script>
</body>
</html>